object FrmCidades: TFrmCidades
  Left = 651
  Top = 259
  Width = 545
  Height = 421
  BorderIcons = [biSystemMenu, biMaximize]
  Caption = 'Cidades'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poOwnerFormCenter
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 13
  object DBGrid1: TDBGrid
    Left = 0
    Top = 0
    Width = 537
    Height = 309
    Align = alClient
    DataSource = DataSource1
    Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
    PopupMenu = PopupMenu1
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
    OnDrawColumnCell = DBGrid1DrawColumnCell
    OnTitleClick = DBGrid1TitleClick
    Columns = <
      item
        Expanded = False
        FieldName = 'idcidade'
        Title.Caption = 'C'#243'digo'
        Width = 56
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'descrcidade'
        Title.Caption = 'Descri'#231#227'o'
        Width = 240
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'idcep'
        Title.Caption = 'CEP'
        Width = 82
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'uf'
        Title.Caption = 'UF'
        Width = 36
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'idregiao'
        Title.Caption = 'Regi'#227'o'
        Width = 77
        Visible = True
      end>
  end
  object gbManutencao: TGroupBox
    Left = 0
    Top = 309
    Width = 537
    Height = 78
    Align = alBottom
    Caption = 'Manuten'#231#227'o'
    TabOrder = 1
    object Label1: TLabel
      Left = 3
      Top = 24
      Width = 40
      Height = 13
      Alignment = taCenter
      AutoSize = False
      Caption = 'C'#243'digo'
    end
    object Label2: TLabel
      Left = 236
      Top = 24
      Width = 33
      Height = 13
      Caption = 'Cidade'
    end
    object Regiao: TLabel
      Left = 3
      Top = 49
      Width = 40
      Height = 13
      Alignment = taCenter
      AutoSize = False
      Caption = 'Regi'#227'o'
    end
    object CEP: TLabel
      Left = 118
      Top = 24
      Width = 21
      Height = 13
      Caption = 'CEP'
    end
    object Estado: TLabel
      Left = 451
      Top = 24
      Width = 33
      Height = 13
      Caption = 'Estado'
    end
    object Pais: TLabel
      Left = 157
      Top = 49
      Width = 22
      Height = 13
      Caption = 'Pa'#237's'
    end
    object EdtCidade: TEdit
      Left = 45
      Top = 20
      Width = 62
      Height = 21
      Enabled = False
      TabOrder = 0
    end
    object EdtNomeCidade: TEdit
      Left = 272
      Top = 20
      Width = 156
      Height = 21
      CharCase = ecUpperCase
      MaxLength = 30
      TabOrder = 2
    end
    object btnGravar: TButton
      Left = 451
      Top = 44
      Width = 75
      Height = 25
      Caption = 'Gravar'
      TabOrder = 7
      OnClick = btnGravarClick
    end
    object btnNovo: TButton
      Left = 371
      Top = 44
      Width = 75
      Height = 25
      Caption = 'Novo'
      TabOrder = 8
      OnClick = btnNovoClick
    end
    object cbAtivo: TCheckBox
      Left = 319
      Top = 47
      Width = 45
      Height = 17
      Caption = 'Ativo'
      TabOrder = 6
    end
    object EdtRegiao: TEdit
      Left = 45
      Top = 45
      Width = 96
      Height = 21
      CharCase = ecUpperCase
      MaxLength = 30
      TabOrder = 4
    end
    object EdtCEP: TEdit
      Left = 143
      Top = 20
      Width = 77
      Height = 21
      TabOrder = 1
    end
    object EdtEstado: TEdit
      Left = 490
      Top = 20
      Width = 36
      Height = 21
      TabOrder = 3
    end
    object EdtPais: TEdit
      Left = 183
      Top = 45
      Width = 129
      Height = 21
      TabOrder = 5
    end
  end
  object ZQuery1: TZQuery
    AfterScroll = ZQuery1AfterScroll
    SQL.Strings = (
      'SELECT * FROM CIDADES')
    Params = <>
    Left = 296
    Top = 16
  end
  object DataSource1: TDataSource
    DataSet = ZQuery1
    Left = 328
    Top = 16
  end
  object PopupMenu1: TPopupMenu
    Left = 264
    Top = 16
    object MostrarInativos1: TMenuItem
      Caption = 'Mostrar Inativos'
      OnClick = MostrarInativos1Click
    end
    object MostrarAtivos1: TMenuItem
      Caption = 'Mostrar Ativos'
      OnClick = MostrarAtivos1Click
    end
    object N1: TMenuItem
      Caption = '-'
    end
    object Excluir1: TMenuItem
      Caption = 'Excluir'
      OnClick = Excluir1Click
    end
  end
end
